@import "src/common";

.confirm-order {
  min-height: 100vh;
  background: var(--page-bg);
  padding-bottom: 140px;
  .at-accordion__arrow{
    font-size: 35px;
  }
  .page-content{
    padding-top: 22px;
    .part-1{
      margin: 0 22px 20px;
      position: relative;
      background: white;
      overflow: hidden;
      border-radius: 20px;
      .time{
        width: 90px;
        height: 36px;
        position: absolute;
        right:0;
        top:0;
        border-radius: 8px;
        background: #FFEBE0;
        font-size: 24px;
        font-weight: bold;
        color: var(--sub-theme);
      }
      .row-1{
        height: 240px;
        padding: 24px 24px 10px;
        .col-1{
          width: 172px;
          height: 100%;
          border-radius: 12px;
          margin-right: 24px;
        }
        .col-2{
          flex: 1;
          height: 100%;
          display: flex;
          flex-direction: column;
          align-items: flex-start;
          justify-content: space-between;
          color: #66686A;
          .r-1{
            font-size: 32px;
            font-weight: bold;
            line-height: 32px;
            padding-bottom: 20px;
            color: #26282A;
          }
          .r-2,.r-3,.r-4,.r-5{
            font-size: 24px;
            line-height: 32px;
            padding-bottom: 8px;
          }
        }
      }
      .row-img{
        width: 100%;
        height: 32px;
        display: block;
      }
      .row-2{
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 24px;
        line-height: 24px;
        font-weight: 400;
        color: #777A7F;
        padding:10px 24px 24px;
        .col-1{
          .item{
            margin-right: 24px;
            .i-1{
              width: 28px;
              height: 28px;
            }
            .i-2{
              padding-left: 4px;
            }
          }
        }
        .col-2{
          .i-2{
            width: 28px;
            height: 28px;
          }
        }
      }
    }
    .part-2{
      margin: 0 22px 20px;
      padding: 0 16px;
      height: 72px;
      border-radius: 20px;
      background: linear-gradient(90deg, #FFF0D9 0%, #FFFFFF 39.8%);
      justify-content: space-between;
      .col-1{
        width: 120px;
        height: 32px;
      }
      .col-2{
        padding-left: 6px;
        font-size: 24px;
        font-weight: 400;
        line-height: 24px;
        color: #616469;
      }
      .col-3{
        width: 24px;
        height: 24px;

      }
    }
    .part-3{
      margin: 0 22px 20px;
      padding: 32px 24px 0;
      position: relative;
      background: white;
      overflow: hidden;
      border-radius: 20px;
      .row-1{
        font-size: 32px;
        font-weight: bold;
        line-height: 30px;
        padding-bottom: 28px;
      }
      .item{
        height: 88px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        .c-1{
          font-size: 28px;
          font-weight: 400;
          line-height: 28px;
        }
        .c-2{
          display: flex;
          align-items: center;
          justify-content: flex-start;
          font-size: 28px;
          .i-1{
            font-size: 28px;
            font-weight: 700;
            line-height: 28px;
            padding: 0 12px;
            color: var(--subT-color);
          }
          .i-2{
            width: 32px;
            height: 32px;
          }
          .i-3{
            max-width: 280px;
            padding: 8px;
            border-radius: 8px;
            font-size: 24px;
            font-weight: 400;
            line-height: 24px;
            color: #fff;
            background: var(--theme-color);
          }
        }
      }
      .item-p{
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-left: 64px;
        line-height: 56px;
        border-top: 2px dashed var(--border-color);
        padding-top: 16px;
        color: var(--subT-color);
        font-size: 28px;
      }
    }
    .part-4{
      margin: 0 22px 20px;
      height: 80px;
      padding: 0 24px;
      border-radius: 20px;
      background: linear-gradient(90deg, #FFF0D9 0%, #FFFFFF 39.8%);
      justify-content: space-between;
      .col-1{
        width: 120px;
        height: 32px;
      }
      .col-2{
        padding-left: 6px;
        font-size: 24px;
        font-weight: 400;
        line-height: 24px;
        color: #616469;
      }
      .col-3{
        .i-1{
          font-size: 28px;
          font-weight: 700;
          line-height: 28px;
          padding: 0 12px;
          color: var(--theme-color);
        }
        .i-2{
          width: 32px;
          height: 32px;
        }
      }
    }
    .part-5{
      margin: 0 22px 20px;
      padding: 32px 24px 0;
      border-radius: 20px;
      background: white;
      .row-1{
        font-size: 32px;
        font-weight: bold;
        line-height: 32px;
        margin-bottom: 8px;
      }
      .row-2{
        .item{
          padding: 28px 0;
        }
      }
    }
    .part-6{
      margin: 0 22px 20px;
      padding: 32px 24px 0;
      border-radius: 20px;
      background: white;
      .row-1{
        font-size: 32px;
        font-weight: bold;
        line-height: 32px;
        margin-bottom: 24px;
      }
      .row{
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 60px;
        .c-1{
          font-size: 24px;
          color: #96989A;
          .i-1{
            font-size: 28px;
            color: #26282A;
            padding-right: 16px;
          }
        }
        .c-2{
          font-size: 24px;
          color: #96989A;
          .i-1{
            font-size: 28px;
            color: #26282A;
          }
        }
      }
    }
    .part-7{
      margin: 0 22px;
      padding-bottom: calc(env(safe-area-inset-bottom) + 200px);
      .row-1{
        font-size: 28px;
        font-weight: 500;
        line-height: 28px;
        color: #000000;
        padding-bottom: 24px;
      }
      .row-2{
        font-size: 24px;
        font-weight: 400;
        line-height: 36px;
        color: #777A7F;
        white-space: pre-wrap;
      }
    }
  }
  .bottom{
    position: fixed;
    background: white;
    width: 100%;
    bottom: 0;
    left: 0;
    align-items: center;
    justify-content: flex-end;
    padding: 24px 24px env(safe-area-inset-bottom);
    box-sizing: border-box;
    .col-1{
      margin-right: 20px;
      .r-1{
        display: flex;
        justify-content: flex-end;
        align-items: flex-end;
        padding-bottom: 12px;
        .i-1{
          font-size: 28px;
          font-weight: 400;
          line-height: 28px;
          color: #4B5563;
        }
        .i-2{
          font-size: 28px;
          font-weight: 400;
          line-height: 28px;
          color: var(--theme-color);
        }
        .i-3{
          font-size: 40px;
          font-weight: 700;
          line-height: 36px;
          color: var(--theme-color);
        }
      }
      .r-2{
        display: flex;
        justify-content: flex-end;
        .i-1{
          font-size: 24px;
          font-weight: 400;
          line-height: 24px;
          color: var(--sub-theme);
        }
        .i-2{
          font-size: 24px;
          font-weight: 400;
          line-height: 24px;
          color: #616469;
        }
      }
    }
    .col-2{
      flex: 1;
      height: 88px;
      border-radius: 54px;
      background: var(--theme-color);
      font-size: 32px;
      font-weight: 700;
      line-height: 32px;
      color: white;
    }
  }
  .bottom-modal{
    .at-modal__container{
      border-radius: 32px 32px 0 0;
    }
  }

  
  .order-modal{
    font-size: 28px;
    .at-modal__container{
      width: 90vw;
      padding: 46px 32px;
      border-radius: 32px;
      box-sizing: border-box;
      background: #fff!important;
    }
    .modal-header{
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 48px;
      .header-h2{
        font-size: 32px;
        color: var(--title-color);
        font-weight: bold;
      }
    }
    .modal-main{
      .main-span{
        color: var(--title-color);
      }
      .main-h2{
        font-weight: bold;
        margin-top: 16px;
        margin-bottom: 48px;
        font-size: 32px;
      }
      .main-info{
        color: var(--theme-color);
        margin-top: 16px;
      }
    }
    .modal-footer{
      margin: 48px 0 0;
      text-align: center;
      .footer-go{
        line-height: 80px;
        border-radius: 80px;
        background: var(--theme-color);
        color: #fff;
        font-size: 28px;
        font-weight: bold;
      }
      .footer-get{
        color: var(--theme-color);
        font-size: 32px;
        font-weight: bold;
        margin-top: 48px;
      }
    }
  }
  .at-modal__container{
    top: 20%;
  }
}
.part-9{
  padding-bottom: 24px;
  .i-1{
    display: block;
    width: 702px;
    height: 252px;
    margin: 0 auto;
  }
}

.popup-coupon{
  border-radius: 32px 32px 0 0;
  background: var(--bg-color);
  .coupon-header{
    display: flex;
    align-items: center;
    padding: 22px 24px;
    .h2{
      font-size: 32px;
      color: #30383F;
      line-height: 1;
      margin-right: 32px;
      font-weight: 600;
    }
    .button{
      line-height: 42px;
      border-radius: 16px;
      border: 2px solid #FF0D49;
      color: #FF0D49;
      font-size: 24px;
      padding: 0 16px;
      background: #fff;
    }
  }
  .coupon-list{
    max-height: 600px;
    overflow-y: auto;
    padding: 0 24px;
    box-sizing: border-box;
    .list-item{
      background: #fff;
      border-radius: 20px;
      padding: 24px;
      margin-bottom: 24px;
      &.box-flex{
        align-items: center;
      }
      .item-info{
        font-size: 28px;
        text-align: left;
        .info-span{
          color: var(--theme-color);
          border: 1px solid var(--theme-color);
          font-size: 24px;
          padding: 0 4px;
          border-radius: 4px;
        }
        .info-h2{
          margin-top: 10px;
        }
      }
      .item-header{
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 10px;
        .header-info{
          font-size: 24px;
          color: var(--subT-color);
          flex: 1;
          margin-bottom: 8px;
          text-align: left;
          .info-h2{
            font-size: 32px;
            font-weight: 700;
            color: var(--title-color);
            margin-bottom: 8px;
            .h2-span{
              background: var(--theme-color);
              color: #fff;
              font-size: 20px;
              border-radius: 8px;
              line-height: 1;
              font-weight: 400;
              padding: 4px 8px;
              margin-right: 8px;
            }
          }
          .info-time{
            color: var(--theme-color);
          }
        }
        .header-price{
          font-size: 24px;
          color: var(--subT-color);
          margin-left: 20px;
          text-align: right;
          .price-info{
            color: var(--theme-color);
            font-size: 48px;
            font-weight: 700;
          }
        }
      }  ///  item-header end
      .item-footer{
        display: flex;
        align-items: center;
        font-size: 24px;
        color: var(--subT-color);
        .footer-button{
          line-height: 1;
          padding: 16px 32px;
          color: var(--theme-color);
          background: var(--theme-color-10);
          font-size: 24px;
          border-radius: 100px;
          font-weight: 700;
          white-space: nowrap;
          margin-left: auto;
        }
      }
      .item-sele{
        width: 40px;
        height: 40px;
        margin-left: auto;
      }
    }
  } ///  coupon-list end
  
  .coupon-button{
    display: flex;
    align-items: center;
    font-size: 28px;
    padding: 16px;
    background: #fff;
    .p{
      color:#60686F;
      flex: 1;
      text-align: left;
    }
    .button{
      line-height: 80px;
      width: 220px;
      background: var(--theme-color);
      color: #fff;
      font-size: 32px;
      border-radius: 32px;
      text-align: center;
    }
    .strong{
      color: var(--theme-color);
      font-weight: 500;
      font-size: 36px;
    }
  }
}  ///  popup-coupon end

.at-action-sheet__container{
  border-radius: 32px 32px 0 0;
}
.at-accordion__content::after{
  display: none;
}
.at-accordion__header{
  font-size: 32px!important;
  padding: 24px!important;
  .at-accordion__info__title{
    font-weight: 600;
  }
}

.rebook-modal{
  .at-action-sheet__header{
    text-align: left;
    color: var(--title-color);
    font-weight: bold;
    font-size: 30px;
  }
  .modal-main{
    padding:0 24px;
  }
  .modal-h2{
    display: flex;
    align-items: center;
    font-size: 24px;
    margin: 20px 0;
    .img{
      width: 32px;
      height: 32px;
      margin-right: 8px;
    }
    .title{
      color: var(--title-color);
      font-weight: bold;
    }
  }
  .modal-p{
    font-size: 24px;
    line-height: 40px;
    color: #60686F;
  }
}